    <section class="content-header">
      <h1>
        邮箱
        <small>{%$mail_newc%} 封新邮件</small>
      </h1>
    </section>

    <!-- Main content -->
    <section class="content">
      <div class="row">
        <div class="col-md-3">
          <a href="index.php?a=mail.add" class="btn btn-primary btn-block margin-bottom">写邮件</a>

          <div class="box box-solid">
            <div class="box-header with-border">
              <h3 class="box-title">文件夹</h3>

              <div class="box-tools">
                <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                </button>
              </div>
            </div>
            <div class="box-body no-padding">
              <ul class="nav nav-pills nav-stacked">
                <li {%if $type=='inbox'%}class="active"{%/if%}><a href="index.php?a=mail.list&type=inbox"><i class="fa fa-inbox"></i> 收件箱
                  <span class="label label-primary pull-right">{%$count_inbox%}</span></a></li>
                <li {%if $type=='outbox'%}class="active"{%/if%}><a href="index.php?a=mail.list&type=outbox"><i class="fa fa-envelope-o"></i> 发件箱</a></li>
                <li {%if $type=='spambox'%}class="active"{%/if%}><a href="index.php?a=mail.list&type=spambox"><i class="fa fa-trash-o"></i> 垃圾箱</a></li>
              </ul>
            </div>
            <!-- /.box-body -->
          </div>
          <!-- /. box -->
        </div>